import java.util.Random;

public class exam3 {
	public static void main(String[] args) {
		try {
			badMethod();
			System.out.print("A");
		} catch (Exception ex) {
			System.out.print("B");
		} finally {
			System.out.print("C");
		}
		System.out.print("D");
		name1();
	}

	public static void badMethod() {
		
	}

	private static void name1() {
		int MyIntArray[] = { 10, 20, 30, 40, 50, 60, 70 };
		int s = 0;
		for (int i = 0; i < MyIntArray.length; i++) {
			if (i % 2 == 1) {
				s += MyIntArray[i];
			}
		}
		System.out.println(s);
		//Random aRandom =  new Random();
		int a= (int)(Math.random()*3);
				System.out.println(a);

	}
}
